Check repo permission prior to attempting to modify it
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 16 Jan 2015 18:28:36 +0000 (13:28 -0500)
committerColin Walters <walters@verbum.org>
Wed, 25 Mar 2015 21:24:05 +0000 (17:24 -0400)
commit1d5e2682fdb493d6f2ed0dc695ed08586db1d227
treefa878c4411f8a5221302f1561ee54ef2a3b79988
parent7941189dfde3795fb649aba41e207f0072dfcd86
Check repo permission prior to attempting to modify it

Fail early with a helpful message if the user does not have sufficient
permission to modify an OSTree repository.
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-prune.c
src/ostree/ot-builtin-pull-local.c
src/ostree/ot-builtin-pull.c
src/ostree/ot-builtin-reset.c
src/ostree/ot-builtin-static-delta.c
src/ostree/ot-builtin-summary.c